package com.nanhai.buddhist.college.module.study.convert.studyplan;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.study.controller.admin.studyplan.vo.*;
import com.nanhai.buddhist.college.module.study.dal.dataobject.studyplan.StudyPlanSubjectDO;

/**
 * 教学计划课程信息 Convert
 *
 * @author xqenzo@163.com
 */
@Mapper
public interface StudyPlanSubjectConvert {

    StudyPlanSubjectConvert INSTANCE = Mappers.getMapper(StudyPlanSubjectConvert.class);

    StudyPlanSubjectDO convert(StudyPlanSubjectCreateReqVO bean);

    StudyPlanSubjectDO convert(StudyPlanSubjectUpdateReqVO bean);

    StudyPlanSubjectRespVO convert(StudyPlanSubjectDO bean);

    List<StudyPlanSubjectRespVO> convertList(List<StudyPlanSubjectDO> list);

    PageResult<StudyPlanSubjectRespVO> convertPage(PageResult<StudyPlanSubjectDO> page);

    List<StudyPlanSubjectExcelVO> convertList02(List<StudyPlanSubjectDO> list);

}
